package com.rgs.se.string;

import java.io.Serializable;

/**
 * @author Ren Gaoshuai
 * @ClassName Student
 * @Description TODO
 * @date 2021-10-08 13:49
 **/
public class Student implements Serializable {
    public static final long serialVersionUid = 1234567L;

    private String name;
    private int age;
    private String gender;

    public Student(String name,int age,String gender){
        this.age = age;
        this.name = name;
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }
}
